package com.woniuxy.homepage.core.model;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author gmx
 * @since 2021-06-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("car_goods")
@ApiModel(value="CarGoods对象", description="")
public class CarGoods implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品")
    private String goodsName;

    @ApiModelProperty(value = "图片")
    private String img;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "规格")
    private String sepcification;

    @ApiModelProperty(value = "售价")
    private BigDecimal sellPrice;

    @ApiModelProperty(value = "软删除 0：默认 1：删除")
    private Integer flag;

    @ApiModelProperty(value = "商家id")
    private Integer storeId;

    @ApiModelProperty(value = "是否推荐，0：默认 1：推荐")
    private Integer recommend;

    @ApiModelProperty(value = "是否推荐，0：默认 1：推荐")
    private Integer goodsStyle;

    @TableField(exist = false)
    @ApiModelProperty(value = "商店名字")
    private String storeChinese;


    @TableField(exist = false)
    @ApiModelProperty(value = "商品类型名字")
    private String styleChinese;


    @TableField(exist = false)
    @ApiModelProperty(value = "是否推荐")
    private String recommendChinese;
}
